﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 机器人
{
    enum RobotType
    {
        CookRobot,
        DeliveryRobot
    }
    abstract class Robot
    {
        private string _name;

        public string Name { get => _name; set => _name = value; }

        public abstract void Working();

        public Robot()
        {

        }
        public Robot(string name)
        {
            this.Name = name;
        }
    }
}
